## --------------------------------------------------------------------------
def SimplySumma(kmax, Nt):

    m = 0; NS = 0;
    for i in range(0, kmax):
        if Nt[i] <> 0:
            NS+=Nt[i]
            m+=1

    if m <> 0:
        NS = kmax*NS/m
        
    return (NS)
